from pydantic import BaseModel


class Variety(BaseModel):
    CropVariety: str
    Code: str
    NationalApprovalNumber: str
    AdaptedRegions: str
    CropHistoryID: int

    class Config:
        orm_mode = True
